package com.pkk.cloud.support.admin.dto.req.urls;

import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 获取资源接口的选择信息请求类
 * @author: peikunkun
 * @create: 2020-04-22 10:25
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OauthResourceUrlCheckReqDto implements Serializable {

  private static final long serialVersionUID = 6694186746880480369L;


  /**
   * 按钮id
   */
  @NotNull(message = "按钮信息不明确")
  private Long buttonId;

  /**
   * 资源id
   */
  @NotNull(message = "资源信息不明确")
  private Long resourceId;

}
